﻿using System;
using System.Collections.Generic;
using System.Text;
namespace Camc.Quality.StoreManagement
{
    public class MaterialDetails
    {

        public Guid Id { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string StroeName { get; set; }
        /// <summary>
        /// 产品图号
        /// </summary>
        public string ProductDrawingNo { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Module { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        public string MaterialTypeName { get; set; }

        /// <summary>
        /// 对应物料细分类别
        /// </summary>
        public string MaterialCategoryName { get; set; }
        /// <summary>
        /// 库存状态 物料属性
        /// </summary>
        public string OutboundStatesDesc { get; set; }
        /// <summary>
        /// 合格证号
        /// </summary>
        public string QualifiedNumber { get; set; }
        /// <summary>
        /// 放行单号
        /// </summary>
        public string ReleaseOrder { get; set; }
        /// <summary>
        /// 质控卡号
        /// </summary>
        public string QCCardNo { get; set; }
        /// <summary>
        /// 型号(产品代号)
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 发次
        /// </summary>
        public string SendTime { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 产品编号(件号)
        /// </summary>
        public string ProductNumber { get; set; }

        /// <summary>
        /// 合格证号任务号
        /// </summary>
        public string QualifiedTaskNumber { get; set; }
        /// <summary>
        /// 装配任务号
        /// </summary>
        public string AssemblyTaskNumber { get; set; }


        /// <summary>
        /// 有效期止
        /// </summary> 
        public string ExpirationDate { get; set; }

        /// <summary>
        /// 入库人
        /// </summary>
        public string StorePutPeopleDesc { get; set; }
        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime StorePutTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 确认人
        /// </summary>
        public string IdentifyingPeople { get; set; }
        /// <summary>
        /// 确认时间
        /// </summary>
        public DateTime? IdentifyingTime { get; set; }
        /// <summary>
        /// ture 可以选择 false 不可选择
        /// </summary>
        public bool CanBeChoose { get; set; }

        /// <summary>
        /// ture 勾选 false 不勾选
        /// </summary>
        public bool LoadCheck { get; set; } = true;
    }
    public class MaterialDetailsOutput
    {
        public List<MaterialDetails> MaterialDetails { get; set; } = new List<MaterialDetails>();

    }
}
